Getting Started with Reports for WPF > Using the FixedDocumentSequence Property |
In this release, both C1Report and C1PrintDocument include a new read-only public property, FixedDocumentSequence FixedDocumentSequence {get;}, which provides access to an instance of FixedDocumentSequence representing the report/document.
The value of the FixedDocumentSequence property can be assigned to the Document property of the C1DocumentViewer or of the standard WPF DocumentViewer control to preview the document or report. It is important to note that accessing the value of the FixedDocumentSequence property can result in document/report (re)generation. Specifically, when C1.C1Report.C1Report.FixedDocumentSequence on a C1Report is accessed, the report is rendered if it has been changed since last generation. When C1PrintDocument.FixedDocumentSequence on a C1PrintDocument is accessed, the document is generated if currently its Pages collection is empty.